package com.qf.service.impl;

import com.qf.dao.CommunityMapper;
import com.qf.dao.EquipmentMapper;
import com.qf.pojo.Community;
import com.qf.pojo.Equipment;
import com.qf.service.EquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentServiceImpl implements EquipmentService {

    @Autowired
    private EquipmentMapper equipmentMapper;

//    @Autowired
//    private CommunityMapper communityMapper;

    @Override
    public List<Equipment> findAllEquipment() {
        return this.equipmentMapper.selectByExample(null);
    }

//    @Override
//    public List<Community> findAllCommunity() {
//        return communityMapper.selectByExample(null);
//    }


}
